Fix progress bars when not in a tty to give output