Matching string type of environment variables to utf-8

When subprocess.Popen of pywin32 is called, it throws TypeError if the environment variables contain unicode.

This pull request is to resolve TypeError as converting unicode string to utf-8 when getting the environment variables.