[Fix #1289] Use utf-8 as default encoding for inspected files

For all Ruby versions.
Merge pull request #1322 from jonas054/1289_default_encoding

[Fix #1289] Use utf-8 as default encoding for inspected files