increment submap::field_count when loading submaps
Use DEFAULTMODE as input context in choose_direction,

And use pause (lowercase) as action for direction (0,0).
Using the DEFAULTMODE context allows the pause action from the normal game mode to be used. Previously it would use the" PAUSE" action from the DIRECTION context, which was not mapped at all.
Add remove_file and rename_file functions to file_wrapper
Use rename_file in input_manager::save to override old key bindings file in windows
Merge pull request #7313 from BevapDin/field-count

increment submap::field_count when loading submaps
Merge pull request #7314 from BevapDin/input-fixes

Use DEFAULTMODE as input context in choose_direction,
Add includes for windows so it finds DeleteFile
Merge branch 'input-manager-save-fix' of https://github.com/BevapDin/Cataclysm-DDA into BevapDin-input-manager-save-fix