Catch PermissionError in addition to OSError.