Add new API: sixel_helper_write_image_file