[Cosmetic] Remove AddFileToFolder version without return value

I think that the benefit of only having the version with return value is:
* Makes the code cleaner and easier to follow. Promotes better style.
* Removes temporary variables and lines of code.
* It could be faster. For example by initializing variables at definition.
* (I am learning the codebase)

Is this useful?

There is i couple of other functions in the URIUtils class that i think can benefit from this in the same way. Can i work on them also?