Fix Python 2 support
Read files assuming UTF-8 encoding