Fix unicode/color functions returning values for sys.stdout
Fix unicode/color functions returning values for sys.stdout

joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,joerick/pyinstrument,edx/pyinstrument,edx/pyinstrument,joerick/pyinstrument,joerick/pyinstrument