Support gnome-terminal 2.32 or later

It requires sending a new escape sequence for opening a new tab with
the same working directory as the previous tab.