Fix CSV conversion for connectors - issue #19
Also fix conversion of a bad format number