Updated serialization of Parameters to use FormatOptions.NewLine

This doesn't actually make a difference due to the fact that
HeaderList.WriteTo() converts the line endings to the appropriate
line-endings, but it's probably better if we output the correct
format anyway.