Use salt.utils.winapi.Com instead of manually
Fix to properly print errors from cli.run()
Fix a pep8 line length issue