Include up to 100 bytes of input of error messages

Prior to this change 'decode' and 'decodeByName' could output a
potentially large input file in error messages.