optimized VfsGetDeprecated