Use NSCharacterSet to determine newlines