String concatenation in FileTarget::export() function replaced with array join

This is done to add new line symbols between messages. Otherwise different messages are added to the log file on the same line.