code: func (d *Downloader) DownloadConfig(dir string) (map[string]string, error) {
  	if err := os.MkdirAll(dir, 0755); err != nil {
  		return nil, fmt.Errorf("error creating config dir: %s", err)
  	}
  	paths := make(map[string]string, len(config))
  	for _, conf := range config {
  		path, err := d.downloadGzippedFile(conf, dir, false)
  		if err != nil {
  			return nil, err
  		}
  		paths[conf] = path
  	}
  	return paths, nil
  }
docs: // DownloadConfig downloads the Flynn config files using the tuf client to the
  // given dir.