map-reduce 6.0 compatibility

The last test case needs more work.  It appears that `level-hooks` refuses to write to a separate db.