Fix backup on Windows by using O_BINARY

Use Binary mode for reading & writing files on Windows instead of text mode.

For reference
http://msdn.microsoft.com/en-us/library/ktss1a9b.aspx

Built on Mac OS 10.9