Fix doomretro.wad not being deleted on exit

Because doomretro.wad wasn't being closed, remove() was failing with an
errno 13: permission denied.