disable progress bar when writing to /dev/stdout (bb#862)