system: Small fix for L10n class
system: Small fix for L10n class

  Call closedir only if opendir was successful

tardypad/lunr,M2Mobi/lunr,pprkut/lunr,M2Mobi/lunr,M2Mobi/lunr,pprkut/lunr,tardypad/lunr,pprkut/lunr,tardypad/lunr