docs: def download(self, itemID, savePath):
          """
          downloads an item to local disk
  
          Inputs:
             itemID - unique id of item to download
             savePath - folder to save the file in
          """
          if os.path.isdir(savePath) == False:
              os.makedirs(savePath)
          url = self._url + "/%s/download" % itemID
          params = {
          }
          if len(params.keys()):
              url =  url + "?%s" % urlencode(params)
          return self._get(url=url,
                           param_dict=params,
                           out_folder=savePath,
                           securityHandler=self._securityHandler,
                           proxy_url=self._proxy_url,
                           proxy_port=self._proxy_port)