Update downloader.py

Minor fixes