Fix debug logging
Fix harder
1-second resolution is sufficient
Pass curl -Y so that if the transfer stalls we fail

Downloads of the CSV data from S3 seem to be randomly hanging and I
can't figure out why.  This should hopefully work around it.
Minimum download rate 10k
Fix error message
Ask curl to retry twice
Fix missing return
Abandon streaming, use a temporary file instead