updater-script: check that /data is ext4 and reformat the script