Fix fs::GetRecursiveSubPaths trying to get directory lists for files