Add logging for bytes written to HDFS.