Add i18n class and fix Mime::byFile bug