[Backports] Correctly open GTK bookmarks with apostrophes in dir names