various attempts at sanitizing paths
Merge branch 'master' of github.com:libretro/libretro-mame