Escape unsafe layout variables using Layout::eSet (refs #4312)