download_hds: dont hardcode metadata size.