Deletes temporary file.