Made transfer indexing use ElasticSearch bulk API.

Changed the transfer file indexing logic to use ElasticSearch's bulk indexing API.