Fixed bug in line endings listener extension, where the content was being overwritten by the new line ending, not having it appended on.