For a given PID, resolve file descriptors in /proc/$PID/fd to their underlying /dev/pts/$X dynamically allocated pty