Add missing alternate names

Per #60.
Rename alternate name field

Per #60.
Stop writing data in binary mode

It serves no purpose.
Use output_dir variable

Replace hard-coded “output” directory.
Generate Elasticsearch index files

Closes #61.