cli: Properly fix #100.

Previous fix was done under assumption that the issue was related
to 32 or 64 bit Python as reported by #79. This assumption was
incorrect, the real issue was related to literal string differences
in Python 2 and 3.