writeStream and bytesWritten property