Distinguish stream types with Streamer.OpenRead, Streamer.OpenWrite and Streamer.OpenReadWrite
Move db to last argument of job handlers, to group unix-style arguments together.
Skeleton implementation following the example