Update to new gist import paths.
Handle errors removing temp dir more gracefully.