Fix byte count for Write Object so it passes tests again