Fixed pipes from parent to child process:
- Avoid conversion from byte stream to char reader
- Flushing after every read to avoid introducing unpredictable delays
Merge pull request #8 from fbaro/master

Fixed pipes from parent to child process: