When exporting items into a file, the delimiter between items was missing. Also adding a test case for this.