Cleanup imgdownloader.py

Fix indentation
Cleanup long lines
- Split multistep processes into multiple lines
Split imports onto multiple lines (pep8)
Check pep8 compliance (passes)