iconv: fixed E2BIG error handling during conversion - always write tmp buf into output stream if tmp isn't empty
parser: replace libxml2 with libtidy. this allows to properly handle encoding