Merge pull request #958 from cduclos/qdbm-tokyo-fix

Fix for building on HPUX
Fixes for building on hpux

Creating 1000 entries is too much on that small hard drive, therefore
reducing it to 2. After all, even one entry will do the trick of
corrupting the file.