Correctly display errors in configure-pg-env.sh.

* Print errors in configure-pg-env.sh to STDERR instead of STDOUT.
* Don't run `export` in recreate-schema.sh until after
  configure-pg-env.sh is successfully ran, to avoid the case where
  it would run `export` without any arguments. `set -e` ensures it
  won't run the `export $ENV` line if configure-pg-env.sh fails.