Fix last-modified checking bug with NIO resources

NIOFileResource.getLastModified() needs to return the last modified time in seconds instead of microseconds.