libimaildir: prune_empty_dirs is ctn-aware
libimaildir: prune_empty_dirs is ctn-aware

Before, prune_empty_dirs() would delete new/ if only cur/ had messages,
and tmp/ was always deleted.

Splintermail/splintermail-client,Splintermail/splintermail-client,Splintermail/splintermail-client