Make sure from_disk passes string to numpy (see
If path is a WindowsPath, numpy does not recognise it as a path and as
a result, doesn't open the file.
@@ -494,7 +494,7 @@ def from_disk(path, readers, exclude):
path = ensure_path(path)
for key, reader in readers.items():
if key not in exclude:
- reader(path / key)
+ reader(path2str(path / key))
return path
