Add revision IDs to metabook.json; write metabook and nfo.json to bundle.