ensure non image attachments do not return 404
Merge pull request #956 from modilabs/non-image-not-found-fix

links to uploaded videos and audio files in browse data view are not working - closes #951