XWIKI-9657: File system attachment porter script doesn't work any more after the recent changes to XWikiAttachmentArchive
* Synchronize getRevision() with getVersions()

(cherry picked from commit aa21cb4c2722d4ea6a5036be5daf724180ef697f)