Postorder now properly computes depth for all directory paths given.