When trying to iterate over a directory with a single file (which matches pattern, i.e. RemotePathIterator.remote_paths has length 1) or batch_size = 1, the IOHandler.download branch for downloading a single file is triggered, which returns "/" as the local path, instead of the path to the file.
When trying to iterate over a directory with a single file (which matches pattern, i.e. RemotePathIterator.remote_paths has length 1) or batch_size = 1, the IOHandler.download branch for downloading a single file is triggered, which returns "/" as the local path, instead of the path to the file.