fix `.d` file creation on clean