make csvwriter code slightly more abstract
make csvwriter code slightly more abstract

OpenTreeOfLife/reference-taxonomy,OpenTreeOfLife/reference-taxonomy,OpenTreeOfLife/reference-taxonomy,OpenTreeOfLife/reference-taxonomy