split out ChunkPipe.
Changed chunkpipe to write the return value of block instead of yielding writer.
Improved loggging of csv2sqlinsert