Clean up arch name in buildinfo when generating hashes.

Publish release manifests separately by platform and check they are the same in
publish-release.