O_BINARY is provided just on windows.