use utf8 encoding to read ebuild files for parsing EAPI

This fixes decode errors found when using python-3 since ebuilds can
have unicode characters in them.