Force download of attachments

Adds ability to force-download file attachments.