Remove dir function now does the recursive stuff correctly.