environ: use AString instead of wstring

(integrated from trunk branch change 3a9778a by Todd Whiteman <toddw@activestate.com>)