Use consistent spelling for combining bit flag values, and make sure we check all
returned error values and pass them along.