[Android] Do checking for a valid core name in ModuleWrapper. 

Prevents a potential crash when random files are tossed in the cores folder.