This prevents the underlying file from being marked busy while a long-running action is happening (e.g. eureka is open).
Most of this is now in doom_base.py, which stores wad/map/name, exposes them as properties, and also takes care of most common tasks needed for building command lines and such.