Only append a slash to the directory if there isn't one on the end.

This should fix the duplicate recents bug in PPSSPP.