Dump from DB: only remove .dtd and .properties files
Faster update_entity_count()