code: def _normalize_path(path):
          
          if isinstance(path, FileInfo):
              path = path.path
          if len(path) == 0:
              return '/'
          if not path.startswith('/'):
              path = '/' + path
          return path
docs: Makes sure the path starts with a "/"