Fix Python3 encoding errors by using UTF-8