Mark file downloads as attachments in response headers