Fixing bug with \\r\\n versus \\n newlines.