Remove URIUtils::GetDirectory(..) function without return value

Like my earlier PR but this time for void URIUtils::GetDirectory(..).