Use explicit UTF-8 encoding for source-gen

Fixes #60. Thanks @akberc and @sgalles!