HeaderDB: rewrite locator creation
Merge pull request #4 from jgarzik/hacking

HeaderDB: rewrite locator creation