Fencepost issue on string writing - also wasn't actually calling the
recursive method. oops.
Doubles are 64 bit, therefore 8 bytes, not 4