CDK-347. Implement DatasetTarget#handleExisting and WriteMode support.