silo: properly invalidate files on close.

otherwise opening multiple files in series is broken.
silo: properly read/utilize the type given in json

also add support for 'byte'/'char' data.