Invert Python2 checks to use PY3

six didn't always have a PY2, so this makes elasticutils work with older
versions of six.