When listing packages, encode the output as UTF-8 before printing

Fixes https://bugzilla.redhat.com/1163070
Merge pull request #22 from fedora-infra/fix_list

When listing packages, encode the output as UTF-8 before printing