HeaderDB: rewrite locator creation