Don't re-encode UTF-8 encoded modules (fixes #2346)