Delete replica log file on exit when in test mode.