enables easier process monitoring when being called with external scripts.
With Python 3, the titlebar wouldn't get updated for a long time (due to stderr buffering), and when it did, the title would be shown as b'...' representation.
This reverts commit db30f02b50.
db30f02b50