Read file using proper encoding

Fixes #142