Add gzip I/O to frontend