Redirect prompt stderr to stdout so that input is not put through
console.error. Normal stderr handling is resumed after the prompt value
has been read.