Fix infinite-loop in temp-dir

For https://github.com/Raynes/fs/issues/62

Also, while testing, I noticed that (temp-file "foo") will throw an IOException from .createNewFIle instead of returning nil as advertised in the docstring.