nine/resource: texupload WIP