ascii codec cant encode character 

fix bug in string handling

https://github.com/fedora-infra/pkgwat.cli/issues/24