update all occurences of shutil.rmtree() to use fileutil.onerror, which catches a windows permission error
lint
Merge branch 'dev' into gui
Merge pull request #1307 from swryan/gui

add onerror handler to all shutil.rmtree invocations