Fix opening of mods folder and correct mods folder file path

Adds logger output of exceptions that may lead user to submit bug reports, copies most of vanilla resource pack folder opening code. Will output stack traces for each failed attempt at opening.