Changed csvkit to use String.encode.