[Hexagon] Factoring bundle creation in to a utility function.