astropy/utils/console.py updates to ProgressBar() iPython implementation [#2789].