Use bytes type when building an array.
Merge pull request #3 from FreddieWitherden/master

Use bytes type when building an array.