Applied the same performance improvement to RepoFileDAO.