(gtk) #5246 'problems when incomplete-dir is a subdirectory of download-dir': backport r13955 to fix bug #5246 for 2.7x
(gtk) #5246 'problems when incomplete-dir is a subdirectory of download-dir': change the file chooser API calls, based on suggestion from kraai