write.c: don't write integrity table if there is no blob table