multiprocess generation of csv