Fix directory listing

The change fixes issue https://jira.opensciencegrid.org/browse/SOFTWARE-875?jql=status%20%3D%20Open%20AND%20text%20~%20%22hdfs%20xrootd%22

As I looked history of XrdOssDF, the problem exists since v.3.2.0.