* Fixed an issue with how prune_*() were called.
* prune_dirs() is ready for test.
Directory pruning now works.