mktemp on osx requires a `-t` argument
Merge pull request #4 from fredrikmollerstrand/master

mktemp on osx requires a `-t` argument