Handle carriage returns in output_thread correctly.
Handle carriage returns in output_thread correctly.

Signed-off-by: Jeff Forcier <f3e731dfa293c7a83119d8aacfa41b5d2d780be9@bitprophet.org>

tolbkni/fabric,akaariai/fabric,tekapo/fabric,sdelements/fabric,rane-hs/fabric-py3,ericholscher/fabric,cmattoon/fabric,bitmonk/fabric,TarasRudnyk/fabric,felix-d/fabric,rodrigc/fabric,askulkarni2/fabric,getsentry/fabric,cgvarela/fabric,simon-engledew/fabric,opavader/fabric,itoed/fabric,pgroudas/fabric,mathiasertl/fabric,pashinin/fabric,hrubi/fabric,kmonsoor/fabric,elijah513/fabric,bitprophet/fabric,raimon49/fabric,haridsv/fabric,xLegoz/fabric,ploxiln/fabric,rbramwell/fabric,fernandezcuesta/fabric,StackStorm/fabric,qinrong/fabric,likesxuqiang/fabric,amaniak/fabric,SamuelMarks/fabric,bspink/fabric,kxxoling/fabric,jaraco/fabric,MjAbuz/fabric