Ensure file is read in binary mode.

Hello,

I think adding `O_BINARY` is necessary to ensure that the file is correctly read on Windows. Thanks!