Remove trailing comma from Elasticsearch file chunks

Towards #59.