Avoid printing progress if stdout isn't a TTY.