Improved utility to convert csv to binary classifier training data.