... and make path_equal() a simple wrapper around it. (cherry picked from commit 2230852b) (cherry picked from commit 533cc35f)