[Core] Config subdirectories fix
[Core] Config subdirectories fix

Minor fix that would cause filenames with a "." in them to use the first part (before the ".") of the filename as folder instead of the actual filename.

LaserHydra/Oxide,LaserHydra/Oxide,bawNg/Oxide,Visagalis/Oxide,Nogrod/Oxide-2,MSylvia/Oxide,bawNg/Oxide,Visagalis/Oxide,Nogrod/Oxide-2,MSylvia/Oxide