Properly remove backup folder
Encode folder returned from downloader. fix #2071