Remove non empty directories

Removing non empty directories becomes necessary
while rewinding certain database operations
such as drop database, remove symbolic link