Delete newly created files in Compile method to prevent "File already exists" exception in future file creations with the same name (Closes #399)
Fixed bug with CreateTempDirectory when the path already exists