Update output for sys.stdout monkey patching