Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian