Changed the call to write_batch_csum_info() to the latest syntax.