fixed compatibility issues as well as image resizing issues. I have tested this patch
along with the other patches against the latest livecd tools with no issues.
related patches needed:
[PATCH] added get_partitions to kickstart.py
[PATCH] re-factor imgcreate/fs.py module
this one
[PATCH] switch internal code to use new api