Extracting stderr from pexpect,child.expect('hi')