Fix path issues with SpatialPolygonsDataFrame_togeojson

As suggested, supply path and filename with/without .geojson extension.