replaces pipe channel by piped streams

This possibly fixes the timeout/loopback issue reported by
Maarten on Windows 8. As a result, the compiler might be slightly
slower because of this, as the channels have been replaced by
streams.