Returns an iterator that prints a progress bar dynamically onto a line