add RPMXDB_CREAT and RPMXDB_TRUNC flags