The avatar handler was being added to the list of promises too late, so we were storing the raw avatar protobuf (Long id, bytes key) rather than the downloaded/decrypted attachment data. Fixes #280