Fix encoding issue with ./build.py -u