It's more convention to write this as

if err != nil {
   return ""
}
return csv