Fix saving default mods list

Fixes #9768

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.