Saving attachments works.

  Previously we saved the "raw" attachment, now we save the decoded
 attachment as the user would expect.

  This updates issue #45.