def fix_for_path(string):
    """
        Fixes special path characters in a
        given string to make it usuable in
        a file or directory name.

        :param str string: the string to fix

        :returns: the fixed string
        :rtype: str
    """
    return string.replace('/', '_')
