Fix WriterRecordBatch.next() to correctly pass the new RecordBatch to downstream operator