fix unchanged pipe write in csv output