fng-install: Use exit in error cases
Replace return 1 with exit 1 in error cases. The trap handles the cleanup anyway. This should fix the overseen errors that ended up with 'Update successful' even when the rootfs couldn't be downloaded.
Additionally some minor tweaks: chmod on automounter only when it exist, to work with dunfell fngsystem, add some helper functions.
BCS 746-000241