It seems that somehow the checksum crypto Hash was updated multiple times. Which results in a HashUpdate failure.
Merge pull request #95 from christiaan/bugfix_crypto_HashUpdate_error

Attachment checksum updated multiple times.