def __init__(self,
               filename,
               st_size,
               etag,
               st_ctime,
               content_type=None,
               metadata=None):
    self.filename = filename
    self.st_size = long(st_size)
    self.st_ctime = float(st_ctime)
    if etag[0] == '"' and etag[-1] == '"':
      etag = etag[1:-1]
    self.etag = etag
    self.content_type = content_type
    self.metadata = metadata
Fixes a potentially Windows-esque file path into a valid URI.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/cloudstorage/common.py/CSFileStat.__init__--crossover with--dataset/ETHPy150Open google/anvil-build/anvil/util.py/ensure_forwardslashes