remove usage of pywin32 modules

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