Add support for --write-catalog-summary option to apply