log.debug("Sanity check: fetch blob {}", Hex.toHex(range.getContentKey().toByteArray()));
if (blob.size() != (range.getEnd() - range.getStart())) {
throw new IllegalStateException();
}
blob.copyTo(hos);
if (i != 0) {
FileRange prev = ranges.get(i - 1);
if (prev.getEnd() != range.getStart()) {