Fixes for handling newline characters

filemakerstandards#10 reported issues with handling newline characters other than carriage returns. They're fixed.