Convert edd_get_download_type() for EDD_Download. #2214