// Reset writer temp stats so they reflect only this set of records.
// They'll be added to totals below, in finally block, after records
// have been written.
writer.resetTmpStats();
writer.resetTmpRecordLog();
// Write a request, response, and metadata all in the one
// 'transaction'.
final URI baseid = getRecordID();
final String timestamp =