windows compatibility fixes
read binary data in a way compatible w/ 1.8.7
Merge pull request #96 from mojavelinux/windows-compat

Fix Windows compatibility issues