allow chunked sending of seed files

elasticsearch limits the upload size for bulk indexing operations. Now
we don't attempt to send the whole seed file in one go but rather send
chunks well below that limit.