Implemented encoding dep for iconv light. So hopefully we can move away from the slow and windows only iconv dep for encoding. Ref #596. Possible fix to #627