Finish implementing BLTWriter.write_contest().