generate XML with UTF-8 encoding

as otherwise wrong US-ASCII string encoding was used in Ruby 1.9 mode