A York café that previously received a food hygiene score of just one has turned it around with a new five-star rating.