code: function(/**string*/ outDir, /**string*/ fileName, /**string*/ content) {
  		var out = new Packages.java.io.PrintWriter(
  			new Packages.java.io.OutputStreamWriter(
  				new Packages.java.io.FileOutputStream(outDir+SYS.slash+fileName),
  				IO.encoding
  			)
  		);
  		out.write(content);
  		out.flush();
  		out.close();
  	}
docs: Create a new file in the given directory, with the given name and contents.