hi, how to use stream.pipe to route the output os a process to certain file