=act #15991 delay sending of ACK until we have updated pendingWrite

Otherwise, the user-level actor may already have sent the next chunk before
the pendingWrite has been updated and the TcpConnection will reject it.
Merge pull request #16002 from spray/w/15991-fix-PendingWriteFile-race

=act #15991 delay sending of ACK until we have updated pendingWrite