Fixed forkpty-sample