process/pipe: error with read_to_str method

 - replaced read_to_str method to read_to_string
 - tested in playpen on live site and confirmed wc result in
   commandline
Close #174