Added missing data size field

The file format requires the data size to be written before the data itself:
http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/