Code that demonstrates observed issues with Band/Product management

The example is basically BandSelectOp with setPreferredTileSize()

Specifically, the code sample below will render all bands as null.
 The issue is triggered with setPreferredTileSize() method, without
 invoking this method on the targetProduct bands and products are
 handled correctly.  Very prelim - it seems like that the issue is
 with writers.

--------
private void createTargetProduct() {

	targetProduct = new Product(PRODUCT_NAME,
        sourceProduct.getProductType(),
        sourceProduct.getSceneRasterWidth(),
        sourceProduct.getSceneRasterHeight());

    for (Band srcBand : sourceProduct.getBands()) {
	final Band targetBand = ProductUtils.copyBand(srcBand.getName(),
	      sourceProduct, targetProduct, false);
        targetBand.setSourceImage(srcBand.getSourceImage());
    }

    OperatorUtils.copyProductNodes(sourceProduct, targetProduct);
    targetProduct.setPreferredTileSize(tileWidth, tileHeight);

}