Only show progress bar if stdout is a TTY