Fixes to mount state.

Fixing an bug that was introduced related to adding new mount options which caused fstab to not be written out. #18474