Make parameters HTML escaping optional in file downloader