collapse print into one statement so that using tee will work with progress bar

without this change, piping to tee produces strange output on the terminal