fixing undefined variable notice in str_putcsv
Merge pull request #149 from BFTrick/refactor-str-putcsv

Fixing Undefined Variable Notice in str_putcsv