Correct catalog level resource id when using readEvents().

readEvents() now returns a Catalog object with the correct resource_id.
This only works when reading a single file.