fix file closing issue when loading font using SDL_RWops