Refactor csv2colstore.cc