PARQUET-124 normalize path checking to prevent mismatch between URI and path