Fixing tempfile issues on certain machines
Merge pull request #163 from jonchay/tmpfile-fix

Fixing tempfile issues on certain machines