Support streaming datasets with pathlib.Path.with_suffix
Extend support for streaming datasets that use `pathlib.Path.with_suffix`.

This feature will be useful e.g. for datasets containing text files and annotated files with the same name but different extension.