Fix to trap ChunkedEncodingError in data download

Merged Chris Jewell requested to merge fix-download-retry into master

Merge request reports