Cleaning up temporary files even if executable has not run properly.