For those interested in this - I found a solution at Eliminating Extra Spaces in String Fields When Exporting Data to a Text File on Pentaho