worktree: use xsize_t to access file size