CLEARWATER: CA-89978: Fix restoration of database from temporary restore file.