Index: applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java
===================================================================
--- applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 14120)
+++ applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 14406)
@@ -74,5 +74,9 @@
             try {
                 // write to plugin dir
-                OsmWriter.output(new FileOutputStream(getPluginDir()+File.separator+"data.osm"), new OsmWriter.All(fromDataSet, true));
+                OsmWriter w = new OsmWriter(new PrintWriter(new FileOutputStream(getPluginDir()+File.separator+"data.osm")), false, fromDataSet.version);
+                w.header();
+                w.writeDataSources(fromDataSet);
+                w.writeContent(fromDataSet);
+                w.footer();
 
                 // get the exec line
