Fixed error in gdalObject.createNewImage and in .opySchemaToNewImage.