Fixed some LangPlugin.getAlternativeFile issues