unescaping stream before piping to request