XWIKI-7947: Attaching a file after a rollback restores previous attachments.

* Fix the case when you upload a filed named like a previous deleted one and then you rollback to the previous.