Writing to the speciesgeocoder file in two steps