MainFrm: Add escaping support to favorites.
Fixes cases where a filename containing a semicolon could not be opened.