e927743bb0
I have no idea _how_), and a simpler fix for the extra \n problem. I tested this and it worked for me, for what that's worth...