Add write() to ImageIO