Delete temp file before trying to make a directory.