This patch re-enables unicode tests on Windows by improving the `Terminal::SupportsUnicode` check. Checking that the stdout handle is a `FILE_TYPE_CHAR` is a better heuristic than always returning true, which assumed we were always using a terminal and never piping the output.