Which program is pickling and why? That seems like a very strange thing to do in this situation. The only time to pickle something is if you need to represent a non-string object on disk, but Python ...
I've used both pexpect and python's built-in telnetlib somewhat regularly to talk to "dumb" telnet devices. Depending on how complicated the data is, telnetlib might be good enough and will work ...