Export segmentation as bin file