Debug workflow

+ fixup pimpathon withTempDir to make tests work on mac.
D'oh - yep  will do.