fix invalid cast exception when using Mock.CreateLike and byte properties