clementine.py: Make python3 compatible.

Hi,
I have made some small changes to clementine.py. It's now python3 compatible and does in python2 too. I've tested it with python 2.7.3 and 3.2.3.

Greetings