Changes to field_types to allow writing all the field_types in one call.
Fully working example in 2D and 3D can be read by yt.