Go to your local lumber yard and talk to the guy at the contractors counter and tell him what you are doing. There are several different types of "thin patch" material made for this. If the holes aren't real big, I probably wouldn't do anything, new flooring will span over them fine.