Create index on hash

Current sqlite usage was impossibly slow when presented with even a modest number of files.