Should FilePathorBuffer use os.PathLike instead of pathlib.Path?
The [documentation for `pandas.read_csv(...)`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html) states that it can support anything that adheres to the `os.PathLike` protocol, but the definition of `FilePathOrBuffer` is too strict.

https://github.com/pandas-dev/pandas/blob/08e4baf13005d33136608bd4e6e15f6b38f50887/pandas/_typing.py#L138

where `Path` is a `pathlib.Path` object.

Could this be changed to use `os.PathLike[str]` or just `os.PathLike`?

```py3
from os import PathLike

FilePathOrBuffer = Union["PathLike[str]", FileOrBuffer]
```

`PathLike` is in quotes because `PathLike` only supports `__class_getitem__` for Python 3.9 and later and `PathLike` alone might be too broad, assuming you don't want to support byte-encoded paths.

Thanks!