Use QUrl to retrieve name of the downloaded file, fixes #264