Move check for existence of file to the right place

...before persistent maps loading and stuff.

(we widened "dangerous window" (when file can disappear)
a little, but it was already there anyway...)