Remove read-only flag from files on shutil.rmtree.

Fix for #565.

Solution from http://stackoverflow.com/a/2656405/851737.