delete tempdir_root (usually tmp) at the end of tests

it's often been an annoyance to find the tmp directory being left behind after tests. This change cleans it up.

(it can probably be made a little cleaner with the Path::Class refactoring, so we don't have to have so many attributes.)