Fix NewDataFromBits

The Bytes field needed to be allocated before use.