Improved resolving of files in jars