Fix file path names, path_info has no 's' there.

That's why you use global constants which contain the literal string once, and you refer to those constants instead of writing the "same" literal string again and again.
Merge pull request #9882 from BevapDin/fix-save-default-mods

Fix saving default mods list