Revert "fetch2: Cleanup file checksum generation"

This reverts commit 6dfb33fd7204e09815bde7ba5bf21941a73fe965.

It causes an unindeded change in behaviour.