fix(entities): system files removed for all entities on delete

Fixes #7130