Fix bug with saving binary column incorrectly