Remove URIUtils::GetParentFolderURI(..)

It is only called from one deeply nested place with the bool always set to true.

It is a bit hard to follow what it does. First looks like it only splits the path in directory and filename, and then puts it together again. But it is probably used to extract the path in a protocol aware way. That is done by using URIUtils::GetParentPath(..).