Add mime type and last modified date to metadata.