A Scottish bakery which was this year listed amongst the best in the world is set to close.