Fix JAR/JAD files loading multiple times.

Fixes #334