let normseg_of_path path = normalize_seg (seg_of_path path)