Amira io

These changes seem to finally correct the bug that was causing the creation of corrupted AmiraMesh files. Besides using the java.util.zip deflate/inflate methods, all the files and input/output streams needed to be closed so the code worked correctly.