Clear stale cache on projectChangeFiles event

This is for #5560