Make sure to convert the disk errors to object errors (#5480)
Make sure to convert the disk errors to object errors (#5480)

Fixes a bug introduced in the directory support PR, with
this fix s3fs works properly.
minio/minio,abperiasamy/minio,harshavardhana/minio,jimjag/minio,harshavardhana/minio,rushenn/minio,aead/minio,fwessels/minio,aead/minio,krishnasrinivas/minio,abperiasamy/minio,aead/minio,jimjag/minio,abperiasamy/minio,harshavardhana/minio,NitishT/minio,jimjag/minio,vadmeste/minio,donatello/minio,jimjag/minio,donatello/minio,aead/minio,krishnasrinivas/minio,krisis/minio,fwessels/minio,balamurugana/minio,abperiasamy/minio,aead/minio,balamurugana/minio,krisis/minio,harshavardhana/minio,harshavardhana/minio,krishnasrinivas/minio,NitishT/minio,NitishT/minio,harshavardhana/minio,NitishT/minio,krishnasrinivas/minio,aead/minio,rushenn/minio,fwessels/minio,aead/minio,harshavardhana/minio,fwessels/minio,rushenn/minio,aead/minio,minio/minio,harshavardhana/minio,rushenn/minio,vadmeste/minio