Added missing _O_BINARY setting for Windows