Take umask into account in filebuf_commit
move mode_t to filebuf_open instead of _commit