Fix bitrot in IO debugging code