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 #332 from cgalvarino/simplify_attachment_name-r2

OOIION-1603