refactoring Core::write_cp_core_properties
refactoring Core#write_dcterms_created and #write_dcterms_modified