Revert "Cleaned up zlib and template plugin files"

This reverts commit c014f3b01feb7840534ce4704b52479e4331e66f.