Convert compression filters to in-place transforms and refactor
to minimize the amount of logic needed in the files specific to each
library.
Remove unused includes