Allow deletion of root dir in buffer for constructor taking path to root.