Open files with binary flag set or Windows throws a tantrum