Fixes #3481: Remove Tokyocabinet db file if broken

To be merged in master

Ticket: http://www.rudder-project.org/redmine/issues/3481