*text* should be bytes

def output_stderr(self, text):
        "*text* should be bytes"
        binary_stderr.write(b''.join([
            self._red,
            b't=%07d' % (time.time() - self._t0),
            self._reset,
            b' ',
            text,
        ]))
        binary_stderr.flush()