def download_to_file(uri:, path:)
      uri = Resync::XML.to_uri(uri)
      @helper.fetch_to_file(path: path, uri: uri)
    end
def download_to_file(uri:, path:)
      uri = Resync::XML.to_uri(uri)
      @helper.fetch_to_file(path: path, uri: uri)
    end
Gets the content of the specified URI and saves it to the specified file,
 overwriting it if it exists.
 @param uri [URI, String] the URI to download
 @param path [String] the path to save the download to
 @return [String] the path to the downloaded file