Recognize .icml extension and use icml writer.  See #1707.