convert tests to use Tempfile.
convert tests to use Tempfile.

jacknguyen/resque,stitchfix/resque,delectable/resque,igorjancic/resque,jacknguyen/resque,l4u/resque,m0dd3r/resque,ychaim/resque,tylerdooling/resque,l4u/resque,lileeyao/resque,ngpestelos/resque,paran0ids0ul/resque,vietnt/resque,delectable/resque,eileencodes/resque,igorjancic/resque,rutikasb/resque,fmitech/resque,ktheory/resque,ducthanh/resque,m0dd3r/resque,lukeasrodgers/resque,jonatas/resque,partap/resque,paran0ids0ul/resque,tylerdooling/resque,stitchfix/resque,ryan-drake-stoker/resque,sufery/resque,bhighley/resque,fmitech/resque,sufery/resque,vladimirich/resque,lileeyao/resque,bonekost/resque,hoffmanc/resque,hoffmanc/resque,AlexVPopov/resque,timo-p/resque,sideci-sample/sideci-sample-resque,begriffs/resque,timo-p/resque,lukeasrodgers/resque,redhotpenguin/resque,kangkot/resque,vladimirich/resque,sideci-sample/sideci-sample-resque,begriffs/resque,ktheory/resque