as above, you need to wrap writer for compression