fix oversight in SL-CustomProfiles.lua

We want to write the .cfg files by key, not value.