Convert structure async
Allow directory reading to be limited

Note that this is not perfect as it still allows directories to be read
within directories. The same limit applies for those, though. Better
than nothing.
0.4.0