Fix a checksum-filename typo and add some debugging helpers.