Issue #2349245 by Niremizov: Fixed error on importing empty csv file with no headers.