Details
Description
I found, working with confparse on something unrelated, that certain values would get truncated. Digging deeper, if confparse is passed a file, the expat parser may call CharacterDataHandler multiple times. I've added a test that reproduced the issue for me, though it's possible that the test wouldn't have failed on other architectures or OSes. Also fixed the issue by appending.