Refactored to Path::Class::tempdir