[PATCH v3 2/2] msi: Convert newlines to alternate representation when exporting