build.py should use utf-8 encoding