ANVLRecord headerFields = new ANVLRecord();
headerFields.addLabelValue("x", "y");
headerFields.addLabelValue("a", "b");
recordInfo.setExtraHeaders(headerFields);
URI rid = (new UUIDGenerator()).getQualifiedRecordID(TYPE, WARCRecordType.metadata.toString());
recordInfo.setRecordId(rid);
final String content = "Any old content.";
for (int i = 0; i < 10; i++) {
String body = i + ". " + content;