Something is fishy with dumpnbt or lib/nbt. Attempting to dump the extracted chunk fails, but external tools do manage to parse it.