We need to re-write this utility using hazardlib. Bug filed: https://bugs.launchpad.net/oq-platform/+bug/1221921.