By default (newlinestr=None), the XMLWriter will still use the `os.linesep` as the newline string. Otherwise, it will use the specified `newlinestr`. This is useful when TTX files under version control are being written from multiple platforms; in which case, one usually wants to always use one specific line ending (most likely LF, which is what the XML spec itself normalizes it to).