Improved encoding guessing for source files

Since epp:default_encoding() is used as the default encoding for the README.md file generated from overview.edoc, it would be good with consistent behaviour when determining default encoding for source files.