Compare pathnames directly