Modified AddFile to set the ContentLength. Not doing so, causes an exception inside of the stream writer.