Support chunk names which contain spaces.
Added some RGO chunks.

Common structures from RGO and RGM chunks have been moved to a separate file.