icat: make stdin and stout line buffered