Use subfile optimization in more places.
Use subfile optimization in more places.

This no longer checks the base class, instead using any file-like
that has a .name field and opening that.

renpy/pygame_sdl2,renpy/pygame_sdl2,renpy/pygame_sdl2,renpy/pygame_sdl2