def ensure_forwardslashes(path):
  return string.replace(path, '\\', '/')
Fixes a potentially Windows-esque file path into a valid URI.
dataset/ETHPy150Open google/anvil-build/anvil/util.py/ensure_forwardslashes