msi: Fixed the WriteEnvironmentStrings action.