cleanup + export a meta file when saving a bundle to specify the source document.