Set default encoding to UTF-8 for Scala Source files.

Fixed #1001907