Get Synapse IDs from a table view query for downloading.
Note that this is affected by PLFM-4207.
Tested in a virtualenv with command line and it works great!