Merge pull request #361 from pexpect/restore-posix

Prepare 4.2 release