This produces a really unfortunate error message on non-utf8 files now.  This should really be a follow-up where the `#encoding` directive is turned into a noop