mkstemp implementation: Specify a umask for open().