PERMISSION_DENIED was renamed "PermissionDeniedError"

(and I am not sure why I needed two commits to fix this). Probably needs to be fixed in gh-pages as well.