handle leading slash in JAR resource path.