Add data file pos
Don't keep garbage datas (chunks not in chunk_index)
Gather DataFile datas in one array (easier to iterate)
Fix 'orient' value (uses 4 bits)
Added writes functions (all but MetaFile)