Fixes #3564: Remove Tokyocabinet db file if broken
Merge pull request #116 from Kegeruneku/bug_3564/dev/3564_adjust_cflock_checking_to_tokyocabinet_db

Fixes #3564: Remove Tokyocabinet db file if broken