Fix state files in python
LoadState
with custom filenames
Fixes simple.LoadState
when custom filenames are specified. We need
to sure that correct proxy-object is create for each state file loaded
since the proxy will have new properties based on the state file.
Fixes #19179 (closed).
backport: release