Store the value from TARGET_OTA_ASSERT_DEVICE to a file