write_in_full:  Add failing TODO multi-write tests

These actually don't fail in MacRelix, which doesn't have a limited pipe
buffer.
write_in_full:  Don't write data past input buffer

We weren't reducing the original byte count by the number of bytes read,
and consequently were accessing memory beyond the input buffer.  This is
now fixed.
Merge branch 'multiwrite-fix'