Adds response headers for content type and filename.