Resolve some download problems: setting limit to all not being respected; blank line when no header