[PULL 2/2] chardev: add path option for pty backend