Problem/Motivation
core/modules/media/src/Plugin/media/Source/Image.php
is using Drupal\Core\File\FileSystem
class instead of Drupal\Core\File\FileSystemInterface
for type hinting in its constructor.
This causes problem when someone wants to use custom FileSystem
class instead of default one.
It works fine if we use FileSystemInterface
instead of FileSystem
.