fix tty reset

Would error out with "invalid arg" otherwise, because of the trailing
newline. (stty (GNU coreutils) 8.21, Linux).
Merge pull request #3 from rwos/fix/stty-reset

fix tty reset