Now uses the Dir.tmpdir method

* Dir.tmpdir gets the OS specific temporary directory.