open the csv file in wordpad/notepad (don't open in Excel). scroll down to the bottom and see if there are any empty rows. They'll look something like, "","","","" (the empty rows actually could be anywhere in the file, but probably at the end)
If so remove the whole row and save the file, then...