sync with nark-berkeley-db-util