IFileManager::GetFilenameOnDisk

For case insensitive filesystems, returns the full path of the file with the same case as in the filesystem.