pylal port two modules from pylal.progress to glue.text_progress_bar