Fix ObjectFolder/ObjectFile/ObjectEvent permissions

Don't merge until #934 is merged -- this PR should contain only a single commit.