Switch to using custom OSM write stream