Fixes #1 - Multiple attachments with same name.

Now attachments with the same name of a previously save one
have the name changed in order not to overwrite the previous one.
Merge branch 'issue-1'