fix loading of resource files from the JAR