str RemoveBackslash(str S)
Removes the trailing backslash from the string unless the string points to a root directory, and returns the result.
Declared in ISPPBuiltins.iss.