fixing minor error in download.py