I am behind my planned schedule by allmost two days, mostly because tarfile module for Python is ... not too complete, for example you can only extract files one by one :P
It looks like I will have to implement extraction of directories myself. Of course I will send it to the tarfile upstream authors, along with something heavy ...