Fixed pipe encoding issue.