Save & use original umask.

Saves and uses the original umask at various places where
user-accessible files are written.