Protects against possible Attachment closing InputStream
Merge pull request #154 from cortiz/master

Protects against possible Attachment closing InputStream