arch: Only display curl progress bar if output is a tty.