Convert a path to a compact form. All instances of "//" and "///" etc. are factored out to single "/"
@param path the path to compact @return the compacted path
See Implementation
Convert a path to a compact form. All instances of "//" and "///" etc. are factored out to single "/"
@param path the path to compact @return the compacted path