Change the way tables are quoted in replicate_row.

Change the way tables are quoted in replicate_row to allow for tables with schema name.