[lit] Adjust error handling for decode introduced by r374665
authorJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 16:25:46 +0000 (16:25 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 16:25:46 +0000 (16:25 +0000)
commit64c00893fae650bdfd1ae05136de3216f70c69b4
tree361fdf2a1c8eaee8cebc4ea80bca9cc83541ae5a
parenta271acbf79326da83cab36a02938fc6cd5740b1b
[lit] Adjust error handling for decode introduced by r374665

On that decode, Windows bots fail with:

```
UnicodeEncodeError: 'ascii' codec can't encode characters in position 7-8: ordinal not in range(128)
```

That's the same error as before r374665 except it's now at the decode
before the write to stdout.

llvm-svn: 374666
llvm/utils/lit/lit/builtin_commands/diff.py