Convert string litteral to bytes for python 3, add test
Another instance of string conversion.

This one worked on Linux, but not on Windows, for some reason.
Fix other test on Python3
Merge pull request #1660 from lamblin/fix_py3_str

Convert string literals for Python3