Fix reading datasets made of compound datatypes with arrays

I'm expert neither in Julia nor in HDF5, so I understand that the solution can be rough and potentially incomplete. But for my purposes this just works.