shutil.rmtree doesn't respect ignore_errors, use try/except instead

shutil.rmtree doesn't respect ignore_errors (http://bugs.python.org/issue15872) maybe, so put it in a try except block.