If two different dumps contains the same record with the same versions, it would be nice if we could identify this situation and don't create duplicated versions for it.
Probably the same applies for files.
A possible solution could be comparing the modification date of the dumped record and the revision date on DB