Fixed resource leaks.

Most of these were pretty trivial, except for getAssetStream. It wasn't ever closing it's ZipFile, which could result in leaked memory. Since it was only being used to read a single entry, I changed it to use a ZipInputStream instead, which the javadocs recommend as being faster anyway.