Closes #2: Add compressed writer