Don't allow empty uploads

Reject any attachment uploads that are empty files.

https://www.pivotaltracker.com/story/show/53218015