SPARK-2566. Update ShuffleWriteMetrics incrementally

I haven't tested this out on a cluster yet, but wanted to make sure the approach (passing ShuffleWriteMetrics down to DiskBlockObjectWriter) was ok
Fits in 100 characters. Here is how you do this in intellij:

```
File -> Settings -> Code Style -> General      Right margin: 100
```