Ensure that build is always in utf8.

Closes #40.