Tweaks to write-coil(stream, struct)