On Windows, read bitstream as binary file during conversion.

This fixes a bug where the Windows implementation of Python truncates the bitstream file when converting it to a C array.