avoid offset calculation in case of LightVirtualFile or HttpVirtualFile