Ensure line buffered output even in pipes