fixed cp33123 - isatty returns False for redirected stdin/stdout/stderr

backported from .net45 Is[Output/Error/Input]Redirected