small fixes, adding binary support output again, fixed some input files with wrong number of columns