Setuid helper for opening ptys.
