fix corrupt downloads with quick superagent replacement. Closes #374