[DF-185] Fixed FilePath::GetPathType()