Leaving them on (by splitting on /^/m instead of /\n/) seems to solve the munging problem. Unfortunately it means that get() returns the folded value, which is not what we want for most purposes.
OK, I've applied a patch to use /^/m because I couldn't think of anything that might break because of the above. Please let me know if there is and I can back out the patch.
Matt.
