fix encoding

refs https://travis-ci.org/iiirc/iiirc/jobs/7209195