ValueError when running BeamBasedBuilder with GCS path in cache_dir
NONE
The cause of the error seems to be that `datasets` adds "gcs://" as a schema, while `beam` checks only "gs://".

datasets: https://github.com/huggingface/datasets/blob/c02a44715c036b5261686669727394b1308a3a4b/src/datasets/builder.py#L822

beam: [link](https://github.com/apache/beam/blob/25e1a64641b1c8a3c0a6c75c6e86031b87307f22/sdks/python/apache_beam/io/filesystems.py#L98-L101)
```
      systems = [
          fs for fs in FileSystem.get_all_subclasses()
          if fs.scheme() == path_scheme
      ]
```
2023-08-14T03:19:42Z
https://github.com/huggingface/datasets/issues/6147#issuecomment-1676612832
https://api.github.com/repos/huggingface/datasets/issues/6147
IC_kwDODunzps5j7xTg
https://api.github.com/repos/huggingface/datasets/issues/comments/1676612832/reactions
2023-08-14T03:19:42Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1676612832
https://avatars.githubusercontent.com/u/13844767?v=4
https://api.github.com/users/ktrk115/events{/privacy}
https://api.github.com/users/ktrk115/followers
https://api.github.com/users/ktrk115/following{/other_user}
https://api.github.com/users/ktrk115/gists{/gist_id}
https://github.com/ktrk115
ktrk115
MDQ6VXNlcjEzODQ0NzY3
https://api.github.com/users/ktrk115/orgs
https://api.github.com/users/ktrk115/received_events
https://api.github.com/users/ktrk115/repos
https://api.github.com/users/ktrk115/starred{/owner}{/repo}
https://api.github.com/users/ktrk115/subscriptions
User
https://api.github.com/users/ktrk115
public
COLLABORATOR
Hi! We've deprecated the Beam API, as we don't have the bandwidth to support it properly...
2024-03-18T16:59:14Z
https://github.com/huggingface/datasets/issues/6147#issuecomment-2004458487
https://api.github.com/repos/huggingface/datasets/issues/6147
IC_kwDODunzps53eZv3
https://api.github.com/repos/huggingface/datasets/issues/comments/2004458487/reactions
2024-03-18T16:59:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2004458487
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
### Describe the bug

When running the BeamBasedBuilder with a GCS path specified in the cache_dir, the following ValueError occurs:

```
ValueError: Unable to get filesystem from specified path, please use the correct path or ensure the required dependency is installed, e.g., pip install apache-beam[gcp]. Path specified: gcs://my-bucket/huggingface_datasets/my_beam_dataset/default/0.0.0/my_beam_dataset-train [while running 'train/Save to parquet/Write/WriteImpl/InitializeWrite']
```

Same error occurs after running `pip install apache-beam[gcp]` as instructed.

### Steps to reproduce the bug

Put `my_beam_dataset.py`:

```python
import datasets


class MyBeamDataset(datasets.BeamBasedBuilder):
    def _info(self):
        features = datasets.Features({"value": datasets.Value("int64")})
        return datasets.DatasetInfo(features=features)

    def _split_generators(self, dl_manager, pipeline):
        return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={})]

    def _build_pcollection(self, pipeline):
        import apache_beam as beam

        return pipeline | beam.Create([{"value": i} for i in range(10)])
```

Run:
```bash
datasets-cli run_beam my_beam_dataset.py --cache_dir=gs://my-bucket/huggingface_datasets/ --beam_pipeline_options="runner=DirectRunner"
```

### Expected behavior

Running the BeamBasedBuilder with a GCS cache path without any errors.

### Environment info

- `datasets` version: 2.14.4
- Platform: macOS-13.4-arm64-arm-64bit
- Python version: 3.9.17
- Huggingface_hub version: 0.16.4
- PyArrow version: 9.0.0
- Pandas version: 2.0.3