sindresorhus/tempfile — pull request #3 by TheRusskiy (2014-01-24 13:37:52+00:00)
Title: support for different 'os' versions

So basically tmpdir was renamed into tmpDir. So we should use whichever version is available.