Fix for decoding small base64 binary attachments

File size was increasing (buffer was appending on the end of the file)
Merge pull request #40 from moroni-pickering/master

Fix for decoding small base64 binary attachments