changed tempfile.mkstemp() call to tempfile.NamedTemporaryFile(delete=False)
changed tempfile.mkstemp() call to tempfile.NamedTemporaryFile(delete=False)

kelcecil/securedrop,garrettr/securedrop,conorsch/securedrop,pwplus/securedrop,heartsucker/securedrop,harlo/securedrop,kelcecil/securedrop,pwplus/securedrop,conorsch/securedrop,kelcecil/securedrop,heartsucker/securedrop,jeann2013/securedrop,conorsch/securedrop,garrettr/securedrop,chadmiller/securedrop,jaseg/securedrop,pwplus/securedrop,conorsch/securedrop,GabeIsman/securedrop,micahflee/securedrop,chadmiller/securedrop,chadmiller/securedrop,harlo/securedrop,chadmiller/securedrop,chadmiller/securedrop,harlo/securedrop,garrettr/securedrop,jrosco/securedrop,GabeIsman/securedrop,GabeIsman/securedrop,jrosco/securedrop,ageis/securedrop,jeann2013/securedrop,micahflee/securedrop,jaseg/securedrop,garrettr/securedrop,jrosco/securedrop,micahflee/securedrop,heartsucker/securedrop,ehartsuyker/securedrop,jeann2013/securedrop,conorsch/securedrop,kelcecil/securedrop,ehartsuyker/securedrop,jrosco/securedrop,jrosco/securedrop,heartsucker/securedrop,harlo/securedrop,jrosco/securedrop,ageis/securedrop,ehartsuyker/securedrop,kelcecil/securedrop,ehartsuyker/securedrop,GabeIsman/securedrop,jeann2013/securedrop,jaseg/securedrop,GabeIsman/securedrop,pwplus/securedrop,GabeIsman/securedrop,ageis/securedrop,jaseg/securedrop,ehartsuyker/securedrop,kelcecil/securedrop,chadmiller/securedrop,jaseg/securedrop,harlo/securedrop,micahflee/securedrop,ehartsuyker/securedrop,jaseg/securedrop,pwplus/securedrop,jeann2013/securedrop,harlo/securedrop,ageis/securedrop,pwplus/securedrop,jeann2013/securedrop,heartsucker/securedrop