call 'file' for stdC fopens.
json reading: convert coord arrays to double.

turns out silo needs them this way anyway.
silo: create directories, properly close file, and write data.

AKA actually work.
... properly call 'finish' for fclose-based instrumentation.
silo: it works now. turns out closing the file is important.

who knew?