Add support for resetting the terminal modes on stderr to something sensible