Be most explicit about mode when opening files
Be most explicit about mode when opening files

Ameliorate broken file handle handling

Nolski/olympia,johancz/olympia,andymckay/addons-server,diox/olympia,wagnerand/zamboni,aviarypl/mozilla-l10n-addons-server,kumar303/addons-server,muffinresearch/addons-server,andymckay/olympia,Witia1/olympia,andymckay/addons-server,mstriemer/addons-server,kmaglione/olympia,Joergen/zamboni,ngokevin/zamboni,eviljeff/zamboni,andymckay/addons-server,SuriyaaKudoIsc/olympia,mozilla/zamboni,jpetto/olympia,mozilla/addons-server,magopian/olympia,Joergen/olympia,shahbaz17/zamboni,tsl143/addons-server,andymckay/zamboni,harikishen/addons-server,tsl143/zamboni,harry-7/addons-server,beni55/olympia,shahbaz17/zamboni,shahbaz17/zamboni,aviarypl/mozilla-l10n-addons-server,atiqueahmedziad/addons-server,bqbn/addons-server,atiqueahmedziad/addons-server,anaran/olympia,Revanth47/addons-server,mozilla/olympia,muffinresearch/addons-server,Joergen/olympia,washort/zamboni,mozilla/addons-server,ayushagrawal288/zamboni,lavish205/olympia,Joergen/olympia,clouserw/zamboni,robhudson/zamboni,wagnerand/olympia,yfdyh000/olympia,andymckay/addons-server,mstriemer/olympia,mozilla/addons-server,diox/zamboni,kmaglione/olympia,Revanth47/addons-server,mstriemer/olympia,yfdyh000/olympia,tsl143/zamboni,eviljeff/zamboni,andymckay/olympia,johancz/olympia,Nolski/olympia,clouserw/zamboni,wagnerand/addons-server,aviarypl/mozilla-l10n-addons-server,washort/zamboni,Joergen/zamboni,eviljeff/olympia,Prashant-Surya/addons-server,ddurst/zamboni,andymckay/zamboni,Prashant-Surya/addons-server,atiqueahmedziad/addons-server,Joergen/olympia,wagnerand/zamboni,jasonthomas/zamboni,Witia1/olympia,diox/olympia,harry-7/addons-server,mdaif/olympia,SuriyaaKudoIsc/olympia,elysium001/zamboni,shahbaz17/zamboni,anaran/olympia,muffinresearch/olympia,crdoconnor/olympia,tsl143/zamboni,clouserw/zamboni,mstriemer/addons-server,wagnerand/olympia,tsl143/addons-server,andymckay/olympia,Hitechverma/zamboni,andymckay/olympia,magopian/olympia,kumar303/addons-server,Revanth47/addons-server,ingenioustechie/zamboni,mstriemer/olympia,Jobava/zamboni,lavish205/olympia,mudithkr/zamboni,harry-7/addons-server,yfdyh000/olympia,muffinresearch/olympia,washort/zamboni,psiinon/addons-server,harikishen/addons-server,eviljeff/zamboni,ayushagrawal288/zamboni,magopian/olympia,mozilla/olympia,diox/olympia,atiqueahmedziad/addons-server,Nolski/olympia,jasonthomas/zamboni,kumar303/zamboni,mstriemer/olympia,lavish205/olympia,psiinon/addons-server,kmaglione/olympia,tsl143/addons-server,Hitechverma/zamboni,bqbn/addons-server,tsl143/addons-server,kumar303/zamboni,mozilla/olympia,spasovski/zamboni,tsl143/zamboni,mstriemer/addons-server,wagnerand/addons-server,kumar303/zamboni,kmaglione/olympia,jpetto/olympia,robhudson/zamboni,koehlermichael/olympia,robhudson/zamboni,Joergen/zamboni,mozilla/addons-server,Revanth47/addons-server,johancz/olympia,eviljeff/olympia,kumar303/olympia,spasovski/zamboni,kumar303/zamboni,eviljeff/zamboni,magopian/olympia,beni55/olympia,mudithkr/zamboni,aviarypl/mozilla-l10n-addons-server,jasonthomas/zamboni,koehlermichael/olympia,harikishen/addons-server,bqbn/addons-server,Nolski/olympia,muffinresearch/addons-server,mdaif/olympia,anaran/olympia,ngokevin/zamboni,muffinresearch/olympia,ngokevin/zamboni,ayushagrawal288/zamboni,Witia1/olympia,ayushagrawal288/zamboni,Jobava/zamboni,jamesthechamp/zamboni,kumar303/olympia,luckylavish/zamboni,koehlermichael/olympia,muffinresearch/olympia,Witia1/olympia,Hitechverma/zamboni,beni55/olympia,mozilla/zamboni,Hitechverma/zamboni,johancz/olympia,jpetto/olympia,Joergen/zamboni,psiinon/addons-server,yfdyh000/olympia,crdoconnor/olympia,mstriemer/addons-server,muffinresearch/olympia,jamesthechamp/zamboni,mudithkr/zamboni,lavish205/olympia,elysium001/zamboni,ddurst/zamboni,diox/zamboni,Prashant-Surya/addons-server,Prashant-Surya/addons-server,kumar303/olympia,jpetto/olympia,Joergen/zamboni,mstriemer/zamboni,crdoconnor/olympia,diox/olympia,mozilla/zamboni,johancz/olympia,mdaif/olympia,SuriyaaKudoIsc/olympia,eviljeff/olympia,koehlermichael/olympia,wagnerand/olympia,mrrrgn/olympia,jamesthechamp/zamboni,luckylavish/zamboni,kumar303/olympia,clouserw/zamboni,mrrrgn/olympia,mstriemer/zamboni,diox/zamboni,mrrrgn/olympia,Nolski/olympia,Joergen/olympia,Jobava/zamboni,wagnerand/addons-server,wagnerand/zamboni,wagnerand/zamboni,robhudson/zamboni,muffinresearch/addons-server,crdoconnor/olympia,ingenioustechie/zamboni,Witia1/olympia,jamesthechamp/zamboni,mozilla/zamboni,kumar303/addons-server,harikishen/addons-server,mstriemer/zamboni,elysium001/zamboni,ingenioustechie/zamboni,beni55/olympia,elysium001/zamboni,eviljeff/olympia,wagnerand/olympia,Jobava/zamboni,mozilla/olympia,spasovski/zamboni,muffinresearch/addons-server,bqbn/addons-server,mstriemer/zamboni,psiinon/addons-server,beni55/olympia,harry-7/addons-server,mudithkr/zamboni,diox/zamboni,mrrrgn/olympia,washort/zamboni,spasovski/zamboni,mrrrgn/olympia,luckylavish/zamboni,luckylavish/zamboni,Joergen/zamboni,anaran/olympia,ddurst/zamboni,ingenioustechie/zamboni,yfdyh000/olympia,mdaif/olympia,crdoconnor/olympia,ddurst/zamboni,kmaglione/olympia,andymckay/zamboni,koehlermichael/olympia,jasonthomas/zamboni,magopian/olympia,kumar303/addons-server,mdaif/olympia,SuriyaaKudoIsc/olympia,wagnerand/addons-server