RPM to CPIO written in Python