def __str_to_path(target):
    """Fixes a string to make it compatible with paths. Converts spaces, colons, semi-colons, periods,
       commas, forward and backward slashes ('/' and '\\'), single and double quotes (" and '), parenthesis,
       curly braces ('{' and '}') to underscores
    Args:
        target (str): the string to convert
    Return:
        Returns the converted string
    Exceptions:
        RuntimeError is raised if the target parameter is not a string
    """
    if not isinstance(target, str):
        raise RuntimeError("Invalid parameter type specified when coverting a string to be path-compatible")

    return_str = target
    for match in " :;.,/\\\'\"(){}":
        return_str = return_str.replace(match, '_')
    return return_str