fixed some uint32_t to kword_t
fixed the remaining kword_t and uint32_t errors
Merge pull request #1 from gingi/master

Code standardizations
Small fix.
doWriteBatch and riwah