fix: readdir file offset calculation