Dataset upload - little fix

Native ARFF files are uploaded as .txt and if no headers are defined
header variable is null.