added missing reader.close() to cat-i18n plugin