Use ASSERT instead of RAISE_IF to improve greppability
Cleanups
Whitespaces
Add `ArrayMeta', `read_array_version' and `read_array_meta'
Change order of arguments (dir, arr) -> (arr, dir) and deallocate an array if already allocated