csv write table append handling