Replace CScriptVal for VFS scripting functions