Don't forget to call .end() on the result (fixes Shapefile export)