[*] Fixed Unicode file writing.

git-svn-id: svn://svn.code.sf.net/p/xps2img/code/trunk@681 f56d0dea-3dc4-4344-980a-dda9636af30f