Ajout de l'extension du fichier à uploader
Merge pull request #54 from romunovius/patch-2

Attachment : set() without the filename parameter, use the basename (filename + extension) of the file