References #2575: Implemented support for reading/writing CompositeFilters.  Added regression test.

(cherry picked from commit e104a26de86ab3babe3d49d0ad2f1334ad4552e3)