Error out if psql invocation fails while loading

This used to just silently succeed, which led to all sorts of weird behavior when running on a machine on which one had forgotten to install the Postgres command-line tools.