gw/hdfs: listing should list directories properly (#8827)
gw/hdfs: listing should list directories properly (#8827)

Fixes #8822
aead/minio,harshavardhana/minio,aead/minio,aead/minio,NitishT/minio,harshavardhana/minio,harshavardhana/minio,fwessels/minio,krisis/minio,aead/minio,minio/minio,minio/minio,krisis/minio,balamurugana/minio,fwessels/minio,harshavardhana/minio,NitishT/minio,aead/minio,donatello/minio,harshavardhana/minio,harshavardhana/minio,harshavardhana/minio,vadmeste/minio,aead/minio,NitishT/minio,fwessels/minio,harshavardhana/minio,aead/minio,fwessels/minio,donatello/minio,balamurugana/minio,NitishT/minio,aead/minio,vadmeste/minio