Improve pg_control update API

Add newlines to the error messages and exit with an error code if an
error happens.