update state.py to use safe_filename_leaf
update state.py to use safe_filename_leaf

        instead of urllib.quote generate state cache
        filename by using safe_filename_leaf salt util method

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt