Wrap an operation which creates a file or directory,
so that it is created safely and, for files, atomically
(by performing the underlying operation to a temporary
location, then renaming the completed file/directory to
the actual target location). targetName specifies the name
of the parameter containing the target file/directory.
Wrap an operation which creates a file or directory, so that it is created safely and, for files, atomically (by performing the underlying operation to a temporary location, then renaming the completed file/directory to the actual target location). targetName specifies the name of the parameter containing the target file/directory.