Implemented Image.WriteTo method for WP8