Fix backup on Windows by using O_BINARY
Merge pull request #1270 from markbenvenuto/backup_fix

Fix backup on Windows by using O_BINARY