Fixed Mame.ini lookup bug

We were previously only capable of seeking mame64.ini or mameUI.ini, yet we can create mame.ini.
Now we can search for the ini, with its correct name in its default, or its mameUI, location, or look for the executable-named ini
mame.ini generation now supports mameUI style ini folder

if there is an ini folder, we write there, if there isn't we write to root.
Now checking and writing mame.ini should work correctly for most...