Fixed print >> sys.stdout