Make OpenCafe py3 compatible.