perltidy
Use File::Spec for getting the default temp directory
Simplify get_tmp_file
Update tests for get_tmp_file
Merge pull request #357 from ferki/tmpdir

Hi Ferki, looks good. Thank you.