Bug 1008239 - Add support to ubifs for build-flash-fota.py. r=dhylands