allow safe temporary file creation from shell scripts.
