Minor py3.3 fixes