Remove explicit permissions on file open.

In mapped_file, there are explicity S_IRWXU permissions on file open. This ignores umask and that can produce an unexpected 700 permission on files created via mapped files.