Removed tempfile.mktemp, fixes CVE-2014-1932 CVE-2014-1933, debian bug #737059
Merge pull request #548 from wiredfool/mktemp

Fix for insecure use of tempfile.mktemp