Fixed issue when attempting to get the last modified date from a
resource within a jar file.

There was an issue with the `get-last-modified` function which would
work when reading resources from the classpath but would fail when
those resources were bundled in a jar. This fix uses the
`URLConnection#getLastModified` method instead.