Fix attachment download links
Merge pull request #48 from dimagi/attachment_urls

Make sure attachment download file names are correct.