Fixed an exception when stacking empty csv files