fix: Make sure all bytes are written to the writer
fix: Make sure all bytes are written to the writer

On Linux writes will partially complete when hitting a 4096 byte boundary.
This ensures that all bytes requested will be written to the writer.

netvl/xml-rs