def ConvertStringToFilename(name):
  return re.sub(r"\W", lambda x: "%%%02X" % ord(x.group(0)),
                name, flags=re.UNICODE).rstrip("/")
Test sending create request resulting in renamed node.
dataset/ETHPy150Open google/grr/grr/lib/data_stores/common.py/ConvertStringToFilename--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubClientTest.test_createNodeRenamed