escape any strange characters in the table name

Change-Id: I5c5385903e31f758c392ea7b69b985f9e4b01ee4