Added before save addition of carriage return after each line