S3FS.open: raise ResourceInvalidError if called on a dir
S3FS.open: raise ResourceInvalidError if called on a dir

zopyx/pyfilesystem,pombreda/pyfilesystem,pmitros/pyfs,Konubinix/pyfilesystem,pmitros/pyfs,PyFilesystem/pyfilesystem,flying-circus/pyfilesystem,piranna/pyfilesystem,rivenz/pyfilesystem