Fixed nested directory listing bug. Fixes #6.