The checksum() function currently emits two lines (one for features_arg and one for files), which makes comparisons and logging awkward and brittle.