add closing tag to XML in jruby_dump_characters

Without the closing tag, Nokogiri interprets the unclosed <page> elements as nested, and then, if you have >256, it reaches Nokogiri's depth limit, and then you get errors.

With the closing tag, everything is happy.

This solves problem 1 in my big comment on #63 .