use gzip readers/writers for artifacts.