/* Prepares to atomically replace a (potentially) existing file
by a new file, by creating a temporary file with the given
PERMISSIONS bits in the same directory as *FILE_NAME.
/* Prepares to atomically replace a (potentially) existing file
by a new file, by creating a temporary file with the given
PERMISSIONS bits in the same directory as *FILE_NAME.