If you run hfs2dfxml.py against certain HFS disk images in order to generate DFXML it can modify the disk image:
$ sha256sum my-hfs-disk-image.001
c3f1cdbe750fa27eeb1ad18c08a135766455f5e29dbebcd049cca076a6f61ea5
$ python hfs2dfxml.py my-hfs-disk-image.001 hfs2dfxml-output.xml
$ sha256sum my-hfs-disk-image.001
6b2f340841e0cc5e7eb8bb474feb8f60e02ff8d8535f2f2cdea1f9adbe1e7bad
Have you seen this behaviour before? I may be able to supply the offending .001 disk image, if helpful.