Made the change backwards-compatible & added a spec.

We don't want to hose anyone who's already catching 'InvaidPermissionError', after all.