Replace unsupported tmux session name characters.