code: def write(self, buf, url):
          
          (store_name, path) = self._split_url(url)
          adapter = self._create_adapter(store_name)
          with adapter.open(path, 'wb') as f:
              f.write(buf.encode())
docs: Write buffer to storage at a given url