Matching string type of environment variables to utf-8

When subprocess.Popen of pywin32 is called, it throws TypeError if the environment variables contain the item that types of key and value are different.

This pull request is to resolve TypeError as converting unicode string to utf-8 when getting the environment variables.