Modified MANIFEST.MF generation algorithm for better performance.