Utilities to write and check a MANIFEST file