Fix writing tmux status.