Writing PostGIS vector data with OGR Python bindings