ImpExp fails on Windows7 (and probably non Win OS's too)

There is a hard coded path in ImpExp.export which fails on Win7 and presumably will on linux too.

Is there any objection to changing it to work the same way as the ImpExp.showXML method and use createTempFile?


Index: src/g3dtest/export/ImpExp.java
===================================================================
--- src/g3dtest/export/ImpExp.java   (revision 4776)
+++ src/g3dtest/export/ImpExp.java   (working copy)
@@ -36,7 +36,8 @@
     public static final void export(Savable savable){
         FileOutputStream fos = null;
         try{
-            File f = new File("C:\model.j3o");
+            File f = File.createTempFile("model","j3o");
+            f.deleteOnExit();
             fos = new FileOutputStream(f);
             BinaryExporter exp = new BinaryExporter();
             exp.save(savable, fos);

Sorry jME3 is still in progress and I am (knowingly) adding code that will only work on my machine. ImpExp is one of those classes that will probably get removed so it doesn't matter much.