Ninja generates for paths with spaces wrong results for $out.d, using the new DEP_FILE variable instead.