Fix a bug with tempdir cleanup: use shutil.rmtree instead of os.removedirs, since the latter only removed empty directories.
Fix a bug with tempdir cleanup: use shutil.rmtree instead of os.removedirs, since the latter only removed empty directories.

instinct-vfx/rez,nerdvegas/rez,nerdvegas/rez,instinct-vfx/rez