fix for placement of the recovery.conf file into the data-dir of a demoted host, whether local or remote