Fixes: [8036] Fix handling of empty section and key name for profile files.
Fixes: [18099] Super Mario 3: Mario Forever fails to load keyboard mapping from profile files.