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