Restore old umask in modefopen() rather than forcing zero.