Fix for potential JarEntry size mismatches

I also added some stuff to the git ignore to avoid issues with local dev environments.