Updating restore.php with the version including the hybrid file write engine