Fix: do not writev to terminals

Signed-off-by: Frank Mertens <frank@cyblogic.de>