Have TargetFinder's spec use Pathname for platform-agnostic path test