avoid unfortunate unicode encoding errors.

Some window's names can't be decoded. It's more robust this way.
PS : thanks for pylaunchy, it sharply improves the accessibility of my workflow-related python scripts