Always set a file encoding
Fix missing nul terminator when nativising strings with CRLF
Merge remote-tracking branch 'upstream/refactor-syntax_unicode' into refactor-syntax_unicode