Adding Dir.tmpdir

We needed to make this change because our CI (Tddium/Solano) runs workers in parallel and `tmp/` inside the repo is not safe.  Thoughts about this?  Thanks!