error out on failed .d write
Merge branch 'depfile-write' of github.com:sgraham/ninja into depfile-write