Remove extra 'perms' key of contents when replaying.
It crashes when the dict is converted to an swh-model object.