Resolves: fdo#70309 can't write bytes direct to stdout in python3
Merge pull request #170 from caolanm/master

Resolves: fdo#70309 can't write bytes direct to stdout in python3