Update RestSharpFactory.cs

This change allows to add images from byte array