BUG: fix metacharacter replacement bug in DataFrame.replace()