Fix issue #265 (csv format broken with FTE templates)

Retain the number of columns generated per key output, so that the csv
layout will not be broken if point/rect metadata keys are missing (since
they are output as multiple columns of the csv).