Factored dcpMetadataByDir out as a global.
Add additional header docs to generated DCP packages.