Stop a deprecation warning that is thrown in elasticutils.

This is not going to be needed once https://github.com/mozilla/elasticutils/pull/160
has been released.