Ensure that temporary files and directories didn't already exist.