redirect outputStream