Changed %f to %g in mat_fdump().