stream: pipe accepts an encoding option