shlib.sh: Capture stderr output when show_progress in effect