Use binary read/write mode for Windows
2.1.9