normalized line feed char to '\n'