Take umask into account in filebuf_commit

Our usage of `git_filebuf_commit` indicates that it would take umask into account, but it does not.  (See, for instance, `config_file.c`.