Applied the 100th-record line break fix to the download API.

This fixed all missing record problems for all queries in the set of 25 queries I was using to test the download API's behavior.