make shapefile writer optionally output polygons for single-feature cells