Bugfix: has_header doesn't work for headers that could validate as fields

It seems like the "has_header" attribute was only checked if the current line couldn't be parsed.
I moved the check one level up, directly skipping the line on the csv reader.