More changes to use XBMC's VFS module