compress: fix bug when eof, iconv.rc: add rust iconv binding