Remove temporary file when script has finished