uid/guid and umask honored on file creation; also fixed inadvertent updating of mtime on file open/close