Reset the umask right after fopen to avoid leaving it changed on error, noticed by deraadt@.
Reset the umask right after fopen to avoid leaving it changed on error, noticed
by deraadt@.

klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux