Reapplied the to_xml_file fix to permit cuckoo-maec output
Reapplied the to_xml_file fix to permit cuckoo-maec output

cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo,cuckoobox/cuckoo