Use Path::Tiny instead of File::Spec::Functions.