stores: Update es.go for new elastigo API
Merge pull request #21 from dgryski/es-build-fix

stores: Update es.go for new elastigo API