Prettify name of path

    :param path: path to fix
    :return: Good name for path

def fix_raw_path(path):
    """Prettify name of path

    :param path: path to fix
    :return: Good name for path
    """
    double_path_separator = PATH_SEPARATOR + PATH_SEPARATOR
    while path.find(
            double_path_separator) >= 0:  # there are double separators
        path = path.replace(double_path_separator,
                            PATH_SEPARATOR)  # remove double path separator

    if is_folder(path) and not path.endswith("/"):
        path = path + "/"

    return path