Fixed bug related to bad paths of channel returned by pipe.