src/append_reader.c: print more info when it reads bad data