Fix commit 4e9c9795 from 2012-12-23 which removed thausands of newlines but was meant to only strip trailing whitesapces.