It's been a rocky few months for Fonterra, the New Zealand dairy giant and the world's largest dairy exporter.