Moved checksum control into the non-dry-run case, where it should be