Fix wrong treatment of fields in case of unicode strings.
Merge pull request #137 from iij/pr-xml_extractor-attr

Fix wrong treatment of fields in case of unicode strings.