Update 'store-triples to throw an error on error

If the HTTP return code is _not_ 200, raise an error.
Also return 200 on 200 OK, and update the test suite to account for this.