migratebundle: new package

This is the start of the code to migrate old-style
bundles to new-style bundles.
Not an issue, just a mention:
s = strings.Replace(s, "\t", "", -1)
s = strings.Replace(s, "|", "", -1)
Is easier to read.