Adds more information to error message if data doesn't match checksum

Should help us work out what is going on.