O_BINARY on windows

We need to specify a lack of line end translation for binary opens on
windows.  Gets the tests to pass