Hundreds of French supermarkets suffered refrigeration disruptions in a cyberattack, with some forced to discard food.