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