chiark / gitweb /
import: split out compression logic, so that we can share it with between import...