Restore the umask when we modify it.