Python Write Array Of Strings To String