improve string/makePath test for duplicate slashes