Stricter permissions when creating the temporary file in mkstemp()