Fix TypeError exception when launching web browser under XFCE 4

The _readfrom function returns bytes, but .endswith() expects a string.
Merge pull request #40 from ckrybus/fix-launch-browser-xfce

Fix TypeError exception when launching web browser under XFCE 4