Added extract_ubi.py
Fixed issue with image.get_blocks(ubi.blocks)