Minor fix for PipeWriter.