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

There's a warning in the next line - is that sufficient?