at-unix: prevent errno from being overwritten on some obscure UNIX systems