Keep .dep files to avoid unnecessary regeneration

This prevents regenerating all dependencies even when only a single file
was changed, which can be prohibitively expensive.