Fix incorrect type definitions at bitcask-handler