Fix to set tmux title when last command line contains meta character such as %