Merge pull request #3 from twong-playmesh/master

Fix ToString code generation for repeated bytes fields
Change InvalidDataException to IOException

Done to allow for compilation in Unity with .NET 2.0 subset API