IO::Spec.tmpdir now returns `.` on failure, trying $*TMPDIR out