Fixes #35 — Switch all I/O to binary streams

Input modules now accept InputStreams.
Output modules accept PrintStreams, because plain OutputStreams
throw checked exceptions, which is a pain to deal with.
Fixes #29 – DOVOutput: properly report dimensions