Create a change set for the given changes, for a document of the given length, using lineSep as line separator.