py2 compat fix for memcache, more direct import