Updated elfloader to be compliant with new VFS API