dbm key must be bytes.