fix broken tempdir removal

Hi,

`File.unlink(...) rescue nil` was silently not actually removing a temporary directory.

I understand why `rescue nil` was used, but when I see it used I always wonder what might silently go wrong. Might there be a better way to do this?

\- Felix