use chunked encoding for directory listing
Merge pull request #232 from ellusak/master

use chunked encoding for directory listing