When using UNIX, O_BINARY is defined if it's not already defined.