Bug 83369 [Import/Export] Unused manifest file generation code in ZipFileExporter
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ZipFileExporter.java
*/
    protected void write(String pathname, IFile contents) throws IOException, CoreException {
        ZipEntry newEntry = new ZipEntry(pathname);
        byte[] readBuffer = new byte[4096];
        
        
        if (!useCompression) {
            newEntry.setMethod(ZipEntry.STORED);
        	InputStream contentStream = contents.getContents(false);
        	int length = 0;
            CRC32 checksumCalculator = new CRC32();
            try {
                int n;
                while ((n = contentStream.read(readBuffer)) > 0) {
                    checksumCalculator.update(readBuffer, 0, n);
                    length += n;
                }
            } finally {
                if (contentStream != null)
                    contentStream.close();
            }
            newEntry.setSize(length);
            newEntry.setCrc(checksumCalculator.getValue());
        }
        outputStream.putNextEntry(newEntry);
    	InputStream contentStream = contents.getContents(false);
        try {
            int n;
            while ((n = contentStream.read(readBuffer)) > 0) {
                outputStream.write(readBuffer, 0, n);