filter/xml fix for LOGSTASH-2246: extract non-ascii content with xpath

Fixes #1803
Set the string encoding when parsing XML

Improves upon #1790

Fixes #1803