use unbuffered IO with child