wc: stop buffering stdin twice