https://github.com/zopefoundation/ZODB/pull/14 adds 'repozo --verify' that lets one compare file sizes and checksums against the manifest (the *.dat file). It has tests and everything.