Write a geometry to a vector file.
geom (ogr.Geometry) – OGR geometry object.
filepath (str) – Full system path to the output file.
output_format (str, optional) – Vector format name. Defaults to “ESRI Shapefile”.