[Downloads] Update to new completePeriodIds API.
Adapted Downloads data source to data_source.py API.