Fixes download_and_print() on Python 3