Fix out of range error when trying to print zero length vector to csv.
Fix out of range error when trying to print zero length vector to csv.

tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem,tobeycarman/dvm-dos-tem