write shapefile