osx has 16 bit mode_t