You can determine the actual temp dir location by an inspecting of the system property System.getProperty("java.io.tmpdir");. Also you may override the property with JVM command-line parameter.

However in your particular case the problem reason seems to be other: try to explicitly define the document encoding. Now your on screenshots it looks like a two-bytes encoding is treated as a default single byte encoding (ISO-8859-1) – that causes the garbage texts in the output.