rootfs.py: Added support for creating UBI images.