Properly serialize Texture

Texture may be renamed in the future as it is simply a way to serialize a
buffered image and send it over the wire

Signed-off-by: Chris Sanders <zidane@outlook.com>