Finally got tempfile.hs running.

Turns out a) I had tab / space issues 🐑・・・・🔫 and b) I had to type the exception that i was 'catch'ing. I figure that the failure will be a 'NoMethodError' on Windoz platforms so that's what I've gone for.