question: protected void writeModelFile ( ) throws IOException { modfile = File . createTempFile ( "ceylon-jsmod-" , ".tmp" ) ; try ( OutputStreamWriter fw = new OutputStreamWriter ( new FileOutputStream ( modfile ) , encoding ) ) { JsCompiler . beginWrapper ( fw ) ; fw . write ( "ex$.$CCMM$=" ) ; ModelEncoder . encodeModel ( mmg . getModel ( ) , fw ) ; fw . write ( ";\n" ) ; JsCompiler . endWrapper ( fw ) ; } finally { } }
target:  Writes the model file to a temporary file. 