Elementary : use binary mode for fopen()