Implement cffi version of iconv module