XWIKI-9114: Error copying a wiki when an attachment is corrupted