Fixes #1109 Themes with same name

Tried a fix for this:
https://github.com/mybb/mybb/issues/1109
@JordanMussi that would be a new issue, since this is how MyBB already does it anyways @demonate is just following the flow.