fix minor memory leak in test code.
ignore the test binary.
note that the interface deals with bytes.

user/implementor might otherwise think they are elements.
Add a test for multicomponent data.
properly truncate files we are opening for write.
forgot to copy # of components in ookwrite.

oops!
shorten loop body.
flesh out threshold implementation.

* actually take min/max from command line.
* implement properly for 8- and 16-bit types.
* properly size the input buffer based on input type.
properly set the type when creating a file.
add some small writing tests.
remove temp testing file