std:std.filesystem.StripSlashes
Strips any trailing slashes from a filesystem path.
This function will not strip slashes from a root directory path.
path