Disallow floating-point in hashed documents; this fixes test failure on Py2.6