Move umask to a regular global variable.
The umask value is per-process, so because all POSIX open-like functions now occur via relibc, this is valid.
The umask value is per-process, so because all POSIX open-like functions now occur via relibc, this is valid.