fix(enc): apply `surrogateescape` when enc/decoding cmd-streams also
Try to fix #543 unicode woes in "core" position (ie TMPDIR):
+ Apply surrogate-escapes(PEP383) also when decoding.
+ Ensure all file-path and cmd-streams are surogate-escape dencoded.
+ test_utils: check if lock works with unicodes.
+ git.compat: FIX undefined exc to raise in `replace_surrogate_encode()`
and fkale8 fixes.
ci results:
+ Linux:
+ py2.7 FAIL 53 TCs
+ py3: fixed
+ Windows, all were OK