common.sh: output all errors to stderr