using checksums to speed up deduping