Remove trailing-newline trimming code, which wasn't necessary anymore.