removeDirectory was broken.