ccan/io: test custom io functions.