added fsync to xsvidata