bug 625928, use tempfile and catch IOErrors
bug 625928, use tempfile and catch IOErrors

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