Fixes #3 by making parsing loop async

I verified this in https://github.com/digitarald/flash-b2g which failed to list files for http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/ .