Fix last-modified checking bug with NIO resources

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