Add a sync command just after writing to the /crypt-storage file in order to reduce the possibilities of corruption errors.