Regex in download_done improved to be more generic.