Halve the bananas lengthwise, then crosswise. In a bowl, mix the butter and curry powder. Dip the bananas in the butter, coat well. Roll the bananas in the cornflakes until completely coated. Sprinkle with sugar, if desired. Place the bananas in a greased baking dish and bake for 10 minutes.