Fixed precision

See https://bugs.launchpad.net/oq-engine/+bug/1374281 and the companion PR
https://github.com/gem/oq-commonlib/pull/61.
The tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/812