Convert sales/earnings stats functions for EDD_Download. #2214