Emit "# encoding: utf-8" at the top of generated Ruby programs