Fix Python 3 compatibility

This is a partially fix for #66 because any error message while executing `vcbuild.bat` now gets properly reported (on Python 2 and Python 3).