Compile fix for U.writeXML() and haxe 3.0.1