Fixes #3564: Remove Tokyocabinet db file if broken

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