Fix Python 3.3 compatibility issues

This patch updates OpenCafe to be compatible with Python 3.3 .
This is needed for downstream projects that require to run against
Python 3.3.

Change-Id: I3c4df6d682363132465c632024552c0bff669cfb
Merge "Fix Python 3.3 compatibility issues"