Fixed header for X-Accel-Redirect downloads. Closes #2454