OOIION-1603
Only add an extension to an attachment if the NAME is not passed along and the filetype is known.  So in most cases, the attachment download will be the same as its name when it was uploaded.
Merge pull request #331 from cgalvarino/simplify_attachment_name

OOIION-1603