The playwright Sam Shepard was also a commanding presence on the screen. As a colleague he could be distrusting and wary.