BUG: Make write of binary file compatible with Python 3.
BUG: Make write of binary file compatible with Python 3.

Open the destination file with the byte flag to avoid error in
Python 3 with mismatch of str and byte.

stkubr/zipline,enigmampc/catalyst,StratsOn/zipline,iamkingmaker/zipline,wubr2000/zipline,bartosh/zipline,florentchandelier/zipline,humdings/zipline,StratsOn/zipline,MonoCloud/zipline,ChinaQuants/zipline,quantopian/zipline,dkushner/zipline,morrisonwudi/zipline,DVegaCapital/zipline,otmaneJai/Zipline,YuepengGuo/zipline,sketchytechky/zipline,semio/zipline,morrisonwudi/zipline,jordancheah/zipline,wilsonkichoi/zipline,stkubr/zipline,CDSFinance/zipline,dmitriz/zipline,ronalcc/zipline,grundgruen/zipline,kmather73/zipline,jimgoo/zipline-fork,mattcaldwell/zipline,alphaBenj/zipline,bartosh/zipline,aajtodd/zipline,erikness/AlephOne,mattcaldwell/zipline,chrjxj/zipline,euri10/zipline,keir-rex/zipline,umuzungu/zipline,jimgoo/zipline-fork,michaeljohnbennett/zipline,umuzungu/zipline,Scapogo/zipline,enigmampc/catalyst,magne-max/zipline-ja,joequant/zipline,sketchytechky/zipline,alphaBenj/zipline,AlirezaShahabi/zipline,semio/zipline,zhoulingjun/zipline,euri10/zipline,zhoulingjun/zipline,dkushner/zipline,DVegaCapital/zipline,jordancheah/zipline,MonoCloud/zipline,kmather73/zipline,gwulfs/zipline,AlirezaShahabi/zipline,ChinaQuants/zipline,YuepengGuo/zipline,gwulfs/zipline,CDSFinance/zipline,quantopian/zipline,nborggren/zipline,chrjxj/zipline,joequant/zipline,grundgruen/zipline,dhruvparamhans/zipline,cmorgan/zipline,humdings/zipline,iamkingmaker/zipline,Scapogo/zipline,cmorgan/zipline,wubr2000/zipline,michaeljohnbennett/zipline,erikness/AlephOne,magne-max/zipline-ja,keir-rex/zipline,florentchandelier/zipline,ronalcc/zipline,wilsonkichoi/zipline,aajtodd/zipline,nborggren/zipline,dhruvparamhans/zipline,dmitriz/zipline,otmaneJai/Zipline