Better handling of encoding (bnc#850105)

Avoid crashes inside of zypper plugin when a channel's metadata contains UTF-8
data.

This commit fixes bnc#850105.
changes 0.9.4