All of Maciej's comments incorporated (https://github.com/opencsw/gar/pull/9), except those for bin/chkdbcat.