Move csv_writer to libutils