pdf2txt: do not double encode stdout
change xrange to range
fixes for ARC4
cmap bytes and decode