python: handle UTF-8 characters in srcline

Signed-off-by: Michal Toman <mtoman@redhat.com>