Only print progress bar header if it's not None.