fix for *bsd piping