report, client: fix minor python3 incompatibilities

Signed-off-by: Jakub Filak <jfilak@redhat.com>