Support the shorten filename output of http directory.

Some http server, e.g. apache when set with 'IndexOptions FancyIndexing' directive, it will output the http directory items in a shorten output filename if it is longer than the width, looks like 'filena..>', this pr adjust the http directory code to support items like this.