Use shutil.rmtree() to remove the temp files