rmtree raises OSError exceptions, not IOError