Better handling of default save folder
Remove debug prints
Bugfix: files downloaded to the correct root folder

With this fix, after the user changes the root folder, files get
downloaded to the new selected folder, instead of the old one.
Bugfix: always append extension to filename