Revert reverting of "write_tsdb plugin"

Maybe this will reopen https://github.com/collectd/collectd/pull/630?