Fix #23291 -- Don't add Unicode varname/value to environment.

Windows doesn't like that and it's causes 114 failures in the
admin_scripts tests with Python 2.x.