Fix filechooser unicode test in py3.
Make vector test work in py3.
Merge pull request #1833 from matham/master

make py3 test succeed