fix encoding bug in extract_tmux_config

Fix #228