Properly close the WriteFlusher instance

Based on @klauspost's suggestion
Merge pull request #597 from revel/close-compress-writer

Properly close the WriteFlusher instance