Issue #2062213 by duozersk: Fixed Remove Unused local variable from /core/lib/Drupal/Core/StreamWrapper/LocalStream.php.