BUG: Bug in csv parsing when passing dtype and names and the parsed data is a different data type (GH8833)

closes #8833