Fixed bug in generated csvs by format-nn-gephi-csv-mat

Problem was that Gephi doesn't allow spaces in front of the
label names in the left column.  The fix involved generalizing
format-mat-with-row-labels.