Fix removal of *.d files.