Newline separator made an attribute of Manifest class.

To calculate digests over the manifest, it is not enough to store
key-value pairs. We also need the newline character, which was used
in the original manifest.

When the manifest is created, separator is set to the OS default.
When the manifest is loaded, separator is obtained from the input
by more or less ugly methods.