Keep current directory in new windows/panes.

Resurrect the pre-1.9 behaviour of putting new windows and panes in the
same directory as the current one.