config.lua: Fixed saving settings for arbitrary file names