Extract 'get_chunks' function
Use getvalue instead of seek/read
extract _patch_moov
Use dict to select offset lengths (rather than implicitly falling to co64)
Extract struct_fmt; use integral count rather than repeating the character