Work around SDL 1.2's (lack of) unicode handling

Introduce a function to produce SDL_RWops structures that most SDL
subsystems can load their data from, instead of directly from files.