Cleanup removes the temporary directory if Make was called with a non
empty dir argument.
It is named as Cleanup because it can be used for other features in the
future.
Make creates a new temporary directory in tmpDir, and stores the path to
the directory in the Dir field. When the dir argument is not empty, no
directory will be created and it will not be deleted if Cleanup is called.